export default {
    data: {
        lastImage: "/common/gray_last.png",
        playImage: "/common/play.png",
        nextImage: "/common/gray_next.png",
        picName: "/common/music.png",
        progressValue: 0,
        last: "last",
        play: "play",
        next: "next",
        songName: "未播放",
        singer: "未知歌手",

    // 柱状图数据
        barData: [
            {
                fillColor: "#FF0000",
                data: [],
            }
        ],
        barOps: {
            xAxis: {
                min: 0,
                max: 20,
                display: false,
                axisTick: 6
            },
            yAxis: {
                min: 0,
                max: 1000,
                display: false
            }
        }
    },
    actions: {
        routerEvent: {
            action: "router",
            bundleName: "com.example.wryproject",
            abilityName: "com.example.wryproject.MusicAbility",
            params: {
                message: this.title
            }
        },
        lastEvent: {
            action: "message",
            params: {
                message: this.last
            }
        },
        playEvent: {
            action: "message",
            params: {
                message: this.play
            }
        },
        nextEvent: {
            action: "message",
            params: {
                message: this.next
            }
        },
    }
}
